
<div id='container'>
<div id="product_list">

<h1>Listing Properties</h1>

<table>
  <% @products.each do |product| %>

  <tr class="<%= cycle('list_line_odd', 'list_line_even') %> ">
    <td>
      <%= image_tag(product.front_image, :class => 'list_image') %>
    </td>

    <td class="list_description">
      <dl>
        <dt><%= product.title %></dt>
        <dd><%= strip_tags(product.description) %></dd>
		<dd>Kamar Tidur : <%= product.bedroom %></dd>
     	<dd>Kamar Mandi : <%= product.bathroom %></dd>
		<dd>Panjang x Lebar : <%= product.long %> x <%= product.width %></dd>
	    <dd>Listrik : <%= product.voltage %></dd>
 		<dd>AC : <%= product.ac %></dd>
        <dd>Harga : <%= product.price %></dd>
		<dd>Kapasitar Garasi : <%= product.car %> Mobil </dd>
        <dd>Contact : <%= product.contact %> (<%= product.mobile %>), yahoo : <%= product.yahoo %>, skype : <%= product.skype %>   </dd>
        <dd>Longitude : <%= product.longitude %> </dd>
        <dd>Latitude : <%= product.latitude %> </dd>
      </dl>
    </td>

    <td class="list_actions">
      <%= link_to 'Show', product %><br/>
      <%= link_to 'Edit', edit_product_path(product) %><br/>
      <%= link_to 'Destroy', product, :confirm => 'Are you sure ?', :method => :delete %>
    </td>
  </tr>
  <% end %>
</table>
</div>



<br />

<%= link_to 'New Product', new_product_path %>
</div>